Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update payment-model.rst #413

Closed
wants to merge 1 commit into from
Closed

Conversation

rafalgawlik
Copy link

Fix in dock

@@ -23,6 +23,7 @@ Example implementation
.. code-block:: python

# mypaymentapp/models.py
from collections import Iterable
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

>>> from collections import Iterable

ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.12/collections/__init__.py)

This should be from collections.abc import Iterable.

@rafalgawlik rafalgawlik closed this by deleting the head repository Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants